<template>
  <nav>
    <router-link to="/one">One</router-link> |
    <router-link to="/two">Two</router-link> |
    <router-link to="/Three">Three</router-link> |
    <router-link to="/test">Test</router-link>
  </nav>
  <router-view/>
</template>

<script>
  import { provide } from 'vue'
  import * as echarts from "echarts"
  import * as axios from "axios";
  export default {
    setup(){
      provide("echarts",echarts)
      provide("axios",axios)
    }
  }
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

nav {
  padding: 30px;
}

nav a {
  font-weight: bold;
  color: #2c3e50;
}
</style>
